﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ModelLayer
{
    public class City
    {
        private string cityName;
        private int postalCode;

        //sensible constructor
        public City(string cityName, int postalCode)
        {
            this.cityName = cityName;
            this.postalCode = postalCode;
        }

        //debug constructor
        public City()
        {
            this.cityName = "nada";
            this.postalCode = 0;
        }

        #region Getters and Setters
        public string CityName
        {
            get { return cityName; }
            set { cityName = value; }
        }

        public int PostalCode
        {
            get { return postalCode; }
            set { postalCode = value; }
        }
        #endregion

    }
}
